﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BD9 RID: 3033
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolySttUpdateScNotify : IMessage<MonopolySttUpdateScNotify>, IMessage, IEquatable<MonopolySttUpdateScNotify>, IDeepCloneable<MonopolySttUpdateScNotify>, IBufferMessage
	{
		// Token: 0x17002630 RID: 9776
		// (get) Token: 0x060087A2 RID: 34722 RVA: 0x001682CD File Offset: 0x001664CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolySttUpdateScNotify> Parser
		{
			get
			{
				return MonopolySttUpdateScNotify._parser;
			}
		}

		// Token: 0x17002631 RID: 9777
		// (get) Token: 0x060087A3 RID: 34723 RVA: 0x001682D4 File Offset: 0x001664D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolySttUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002632 RID: 9778
		// (get) Token: 0x060087A4 RID: 34724 RVA: 0x001682E6 File Offset: 0x001664E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolySttUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x060087A5 RID: 34725 RVA: 0x001682ED File Offset: 0x001664ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySttUpdateScNotify()
		{
		}

		// Token: 0x060087A6 RID: 34726 RVA: 0x001682F5 File Offset: 0x001664F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySttUpdateScNotify(MonopolySttUpdateScNotify other) : this()
		{
			this.stt_ = ((other.stt_ != null) ? other.stt_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060087A7 RID: 34727 RVA: 0x0016832A File Offset: 0x0016652A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySttUpdateScNotify Clone()
		{
			return new MonopolySttUpdateScNotify(this);
		}

		// Token: 0x17002633 RID: 9779
		// (get) Token: 0x060087A8 RID: 34728 RVA: 0x00168332 File Offset: 0x00166532
		// (set) Token: 0x060087A9 RID: 34729 RVA: 0x0016833A File Offset: 0x0016653A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KPNOKNOHBKC Stt
		{
			get
			{
				return this.stt_;
			}
			set
			{
				this.stt_ = value;
			}
		}

		// Token: 0x060087AA RID: 34730 RVA: 0x00168343 File Offset: 0x00166543
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolySttUpdateScNotify);
		}

		// Token: 0x060087AB RID: 34731 RVA: 0x00168351 File Offset: 0x00166551
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolySttUpdateScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Stt, other.Stt) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060087AC RID: 34732 RVA: 0x00168384 File Offset: 0x00166584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.stt_ != null)
			{
				num ^= this.Stt.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060087AD RID: 34733 RVA: 0x001683C0 File Offset: 0x001665C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060087AE RID: 34734 RVA: 0x001683C8 File Offset: 0x001665C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060087AF RID: 34735 RVA: 0x001683D1 File Offset: 0x001665D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.stt_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.Stt);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060087B0 RID: 34736 RVA: 0x00168404 File Offset: 0x00166604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.stt_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Stt);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060087B1 RID: 34737 RVA: 0x00168444 File Offset: 0x00166644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolySttUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.stt_ != null)
			{
				if (this.stt_ == null)
				{
					this.Stt = new KPNOKNOHBKC();
				}
				this.Stt.MergeFrom(other.Stt);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060087B2 RID: 34738 RVA: 0x00168498 File Offset: 0x00166698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060087B3 RID: 34739 RVA: 0x001684A4 File Offset: 0x001666A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.stt_ == null)
					{
						this.Stt = new KPNOKNOHBKC();
					}
					input.ReadMessage(this.Stt);
				}
			}
		}

		// Token: 0x0400339D RID: 13213
		private static readonly MessageParser<MonopolySttUpdateScNotify> _parser = new MessageParser<MonopolySttUpdateScNotify>(() => new MonopolySttUpdateScNotify());

		// Token: 0x0400339E RID: 13214
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400339F RID: 13215
		public const int SttFieldNumber = 6;

		// Token: 0x040033A0 RID: 13216
		private KPNOKNOHBKC stt_;
	}
}
